package com.cloudkinto.bo.order.shelf;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 常规入库按箱上架
 *
 * @author long
 */
@Data
public class ShelfByBoxMarkNumberAddBo extends ShelfAddBaseBo {

    @ApiModelProperty("箱子列表")
    @NotNull(message = "箱子列表不可为空")
    private List<BoxMarkNumberDetail> detailList;

    @Data
    public static class BoxMarkNumberDetail {
        @ApiModelProperty("箱唛号")
        private String boxMarkNumber;

        @ApiModelProperty("库位id")
        private Long cellId;
    }
}
